//
//  SISSHouseEnrollSecondViewModel.h
//  SISSAPP
//
//  Created by 袁应荣 on 2018/9/3.
//  Copyright © 2018年 优房网. All rights reserved.
//

#import <Foundation/Foundation.h>


@class SWFormItem;
@class SISSHouseEnrollSecondViewController;
@interface SISSHouseEnrollSecondViewModel : NSObject

@property (weak, nonatomic) SWFormItem *communityItem;
@property (weak, nonatomic) SWFormItem *buildingItem;
@property (weak, nonatomic) SWFormItem *roomItem;
@property (weak, nonatomic) SWFormItem *priceItem;
@property (weak, nonatomic) SWFormItem *propertyItem;
@property (weak, nonatomic) SWFormItem *houseTypeItem;
@property (weak, nonatomic) SWFormItem *floorAreaItem;
@property (weak, nonatomic) SWFormItem *teachingAreaItem;
@property (weak, nonatomic) SWFormItem *buildingYearItem;
@property (weak, nonatomic) SWFormItem *directionItem;
@property (weak, nonatomic) SWFormItem *decorationItem;
@property (weak, nonatomic) SWFormItem *houseTagItem;
@property (weak, nonatomic) SWFormItem *contractNoItem;
@property (weak, nonatomic) SWFormItem *houseInfoCodeItem;
@property (weak, nonatomic) SWFormItem *otherdescItem;
@property (weak, nonatomic) SWFormItem *sellerNameItem;
@property (weak, nonatomic) SWFormItem *sellerPhoneNumItem;

/** tagIndexArray */
@property (strong, nonatomic) NSMutableArray *tagIndexArray;

@property (strong, nonatomic) SISSHouseResourceModel *houseModel;

- (instancetype)initWithController:(SISSHouseEnrollSecondViewController *)controller;

- (NSMutableArray *)dataSource;

/// 选择事件回调block
@property (copy, nonatomic) void(^selectBolck)(SWFormItem *item);

@end
